home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / usr / lib / perl5 / Gnome2 / FileEntry.pod < prev    next >
Text File  |  2009-04-29  |  4KB  |  213 lines

  1. =head1 NAME
  2.  
  3. Gnome2::FileEntry - wrapper for GnomeFileEntry
  4.  
  5. =cut
  6.  
  7. =head1 HIERARCHY
  8.  
  9.   Glib::Object
  10.   +----Glib::InitiallyUnowned
  11.        +----Gtk2::Object
  12.             +----Gtk2::Widget
  13.                  +----Gtk2::Container
  14.                       +----Gtk2::Box
  15.                            +----Gtk2::VBox
  16.                                 +----Gnome2::FileEntry
  17.  
  18.  
  19.  
  20. =cut
  21.  
  22. =head1 INTERFACES
  23.  
  24.   Glib::Object::_Unregistered::AtkImplementorIface
  25.   Gtk2::Buildable
  26.   Glib::Object::_Unregistered::GtkOrientable
  27.   Gtk2::Editable
  28.  
  29.  
  30.  
  31. =cut
  32.  
  33.  
  34. =head1 METHODS
  35.  
  36. =head2 widget = Gnome2::FileEntry-E<gt>B<new> ($history_id, $browse_dialog_title)
  37.  
  38. =over
  39.  
  40. =item * $history_id (string) 
  41.  
  42. =item * $browse_dialog_title (string) 
  43.  
  44. =back
  45.  
  46. =head2 $fentry-E<gt>B<set_default_path> ($path)
  47.  
  48. =over
  49.  
  50. =item * $path (string) 
  51.  
  52. =back
  53.  
  54. =head2 boolean = $fentry-E<gt>B<get_directory_entry> 
  55.  
  56. =head2 $fentry-E<gt>B<set_directory_entry> ($directory_entry)
  57.  
  58. =over
  59.  
  60. =item * $directory_entry (boolean) 
  61.  
  62. =back
  63.  
  64. =head2 $fentry-E<gt>B<set_filename> ($filename)
  65.  
  66. =over
  67.  
  68. =item * $filename (string) 
  69.  
  70. =back
  71.  
  72. =head2 string = $fentry-E<gt>B<get_full_path> ($file_must_exist)
  73.  
  74. =over
  75.  
  76. =item * $file_must_exist (boolean) 
  77.  
  78. =back
  79.  
  80. =head2 widget = $fentry-E<gt>B<gnome_entry> 
  81.  
  82. =head2 widget = $fentry-E<gt>B<gtk_entry> 
  83.  
  84. =head2 boolean = $fentry-E<gt>B<get_modal> 
  85.  
  86. =head2 $fentry-E<gt>B<set_modal> ($is_modal)
  87.  
  88. =over
  89.  
  90. =item * $is_modal (boolean) 
  91.  
  92. =back
  93.  
  94. =head2 $fentry-E<gt>B<set_title> ($browse_dialog_title)
  95.  
  96. =over
  97.  
  98. =item * $browse_dialog_title (string) 
  99.  
  100. =back
  101.  
  102.  
  103.  
  104. =cut
  105.  
  106.  
  107. =head1 PROPERTIES
  108.  
  109. =over
  110.  
  111. =item 'browse-dialog-title' (string : readable / writable)
  112.  
  113. Title for the Browse file dialog.
  114.  
  115. =item 'default-path' (string : readable / writable)
  116.  
  117. Default path for the Browse file window.
  118.  
  119. =item 'directory-entry' (boolean : readable / writable)
  120.  
  121. Whether the file entry is being used to enter directory names or complete filenames.
  122.  
  123. =item 'filechooser-action' (Gtk2::FileChooserAction : readable / writable)
  124.  
  125. The type of operation that the file selector is performing.
  126.  
  127. =item 'filename' (string : readable / writable)
  128.  
  129. Filename that should be displayed in the file entry.
  130.  
  131. =item 'gnome-entry' (Gnome2::Entry : readable)
  132.  
  133. GnomeEntry that the file entry uses for entering filenames.  You can use this property to get the GnomeEntry if you need to modify or query any of its parameters.
  134.  
  135. =item 'gtk-entry' (Gtk2::Entry : readable)
  136.  
  137. GtkEntry that the file entry uses for entering filenames.  You can use this property to get the GtkEntry if you need to modify or query any of its parameters.
  138.  
  139. =item 'history-id' (string : readable / writable)
  140.  
  141. Unique identifier for the file entry.  This will be used to save the history list.
  142.  
  143. =item 'modal' (boolean : readable / writable)
  144.  
  145. Whether the Browse file window should be modal.
  146.  
  147. =item 'use-filechooser' (boolean : readable / writable)
  148.  
  149. Whether to use the new GtkFileChooser widget or the GtkFileSelection widget to select files.
  150.  
  151. =back
  152.  
  153.  
  154.  
  155. =cut
  156.  
  157.  
  158. =head1 SIGNALS
  159.  
  160. =over
  161.  
  162. =item B<activate> (Gnome2::FileEntry)
  163.  
  164. =item B<browse-clicked> (Gnome2::FileEntry)
  165.  
  166. =back
  167.  
  168.  
  169.  
  170. =cut
  171.  
  172.  
  173. =head1 ENUMS AND FLAGS
  174.  
  175. =head2 enum Gtk2::FileChooserAction
  176.  
  177. =over
  178.  
  179. =item * 'open' / 'GTK_FILE_CHOOSER_ACTION_OPEN'
  180.  
  181. =item * 'save' / 'GTK_FILE_CHOOSER_ACTION_SAVE'
  182.  
  183. =item * 'select-folder' / 'GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER'
  184.  
  185. =item * 'create-folder' / 'GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER'
  186.  
  187. =back
  188.  
  189.  
  190.  
  191.  
  192. =cut
  193.  
  194.  
  195. =head1 SEE ALSO
  196.  
  197. L<Gnome2>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>, L<Gtk2::Box>, L<Gtk2::VBox>
  198.  
  199.  
  200. =cut
  201.  
  202.  
  203. =head1 COPYRIGHT
  204.  
  205. Copyright (C) 2003-2004 by the gtk2-perl team.
  206.  
  207. This software is licensed under the LGPL.  See L<Gnome2> for a full notice.
  208.  
  209.  
  210.  
  211. =cut
  212.  
  213.